package com.blog.service;

import com.blog.entity.article.Article;

import java.util.List;

public interface ArticleService {
    List<Article> getArticlesByAudit(String audit);
    List<Article> getArticleByTid(Integer tid);
    List<Article> getArticleByUid(Integer uid);
    Article getArticleByAid(Integer aid);
    String addArticle(Article article);
    String updateArticle(Article article);
    Integer updateArticleAudit(Article article);
    String updateArticleView(Article article);
    String deleteArticle(Integer aid);
}
